responseCode

open fun responseCode(): Int

Returns the HTTP response code (e.g., 300, 301, and so on). Indicates the reason why the request has been redirected.